home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1354 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.5 KB

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Wed, 4 May 94 10:50:00 +0200
  3. Message-Id: <9405040850.AA02722@issan.informatik.uni-dortmund.de>
  4. To: schwab@issan.informatik.uni-dortmund.de
  5. In-Reply-To: <9404280829.AA02125@issan.informatik.uni-dortmund.de> (message from Andreas Schwab on Thu, 28 Apr 94 10:29:13 +0200)
  6. Subject: Re: mint library fgetc
  7.  
  8. You write:
  9.  
  10. |> brad@tazboy.Jpl.Nasa.Gov (Brad Pickering) writes:
  11. |> |> I have been playing around with Scheme->C under MiNT, trying
  12. |> |> to track down why it doesn't work the same as under UNIX on
  13. |> |> the Sun.  If anybody has ported Scheme->C to MiNT, could you
  14. |> |> let me know.
  15.  
  16. |> I don't know about Scheme->C, but Jacal, the scheme to c compiler for
  17. |> scm, runs strait out of the box.  It is available from any GNU
  18. |> archive.
  19.  
  20. |> |> [...]
  21. |> |> Below is part of the code for filbuf in the MiNT library.  It looks
  22. |> |> like the EOF flag is not set if the file has the IODEV flag set.  I
  23. |> |> don't think this code should care what kind of device it is reading
  24. |> |> from.  What do you think?
  25.  
  26. |> Yes, i think this is a bug. EOF is EOF, whether it comes from a
  27. |> terminal doesn't matter. If a program wants to continue reading from
  28. |> the terminal after EOF, it should execute clearerr(f).
  29.  
  30. |> +------------------------------------------------------------------------+
  31. |> Andreas Schwab                                      "And now for something
  32. |> schwab@ls5.informatik.uni-dortmund.de                completely different"
  33. |> * Linux/Atari is coming soon, stay tuned * But don't hold your breath... *
  34.  
  35.